cb9efd7de0f6800e229c7dc8bbcfa140374e8200,src/main/java/jas/common/command/CommandCanSpawnHere.java,CommandCanSpawnHere,canEntityTypeSpawnHere,#EntityPlayer#EntityLiving#CreatureType#CountInfo#,251
Before Change
targetPlayer.preventEntitySpawning = tempSpawning;
if (canSpawn) {
return "\u00A7a".concat(livingType.typeID).concat(" can spawn.").concat("\u00A7r");
} else {
return "\u00A7c".concat(livingType.typeID).concat(" cannot spawn.").concat("\u00A7r");
}
After Change
targetPlayer.preventEntitySpawning = tempSpawning;
if (canSpawn) {
StringBuilder builder = new StringBuilder();
builder.append("\u00A7a").append(livingType.typeID).append(" can spawn");
if (successes != numTrials) {
builder.append(" [").append(MathHelper.ceiling_float_int(successes / (float) numTrials)).append("%]");
} else {
builder.append(".");
}
builder.append("\u00A7r");
return builder.toString();
} else {
return "\u00A7c".concat(livingType.typeID).concat(" cannot spawn.").concat("\u00A7r");
}